<?php 

/*****************************************************************************
 * 
 *  Copyright 2009 Sylvain Dudoit (contact : sylvain.dudoit at gmail.com)
 *  
 *  This file is part of Poupitchi.
 *
 *  Poupitchi is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  Poupitchi is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with Poupitchi.  If not, see <http://www.gnu.org/licenses/>.
 *
 *****************************************************************************/

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_EN" lang="en_EN">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
    <title><?php e(P_TITLE)?></title>
    <link rel="icon" type="image/png" href="<?php e($P_DATA);?>favicon.png" />
    <?php foreach($P_MODULES as $module) : ?>
      <style><?php require_once("library/modules/".$module."/styles.php"); ?></style>
    <?php endforeach; ?>
    <style><?php require_once("skins/".P_SKIN."/styles.php"); ?></style>
  </head>
  <body>
    <div id="area_public">
      <div id="bloc_header">
        <?php require_once("bloc_header.php"); ?>
      </div>
      <div id="bloc_page">
      	<?php require_once("library/modules/users/bloc_auth.php"); ?>
      </div>
      <div id="bloc_footer">
        <?php require_once("bloc_footer.php"); ?>
      </div>
    </div>
    <?php eError(); ?>
  </body>
</html>